home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / wpl1180p.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  27.8 KB  |  1,052 lines

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *GPDFileVersion: "1.0"
  4. *GPDFileName: "wpl1180p.GPD"
  5. *ModelName: "Wipro LQ 1180+"
  6. *MasterUnits: PAIR(360, 360)
  7. *ResourceDLL: "wp24res.Dll"
  8. *PrinterType: SERIAL
  9. *Feature: Orientation
  10. {
  11.     *rcNameID: =ORIENTATION_DISPLAY
  12.     *DefaultOption: PORTRAIT
  13.     *Option: PORTRAIT
  14.     {
  15.         *rcNameID: =PORTRAIT_DISPLAY
  16.     }
  17.     *Option: LANDSCAPE_CC270
  18.     {
  19.         *rcNameID: =LANDSCAPE_DISPLAY
  20.     }
  21. }
  22. *Feature: InputBin
  23. {
  24.     *rcNameID: =PAPER_SOURCE_DISPLAY
  25.     *DefaultOption: TRACTOR
  26.     *Option: TRACTOR
  27.     {
  28.         *rcNameID: =TRACTOR_DISPLAY
  29.         *Command: CmdSelect
  30.         {
  31.             *Order: DOC_SETUP.3
  32.             *Cmd: "<1B19>0"
  33.         }
  34.     }
  35.     *Option: MANUAL
  36.     {
  37.         *rcNameID: =MANUAL_FEED_DISPLAY
  38.         *Command: CmdSelect
  39.         {
  40.             *Order: DOC_SETUP.3
  41.             *Cmd: "<1B19>0"
  42.         }
  43.     }
  44. }
  45. *Feature: Resolution
  46. {
  47.     *rcNameID: =RESOLUTION_DISPLAY
  48.     *DefaultOption: Option1
  49.     *Option: Option1
  50.     {
  51.         *Name: "180 x 180 " =DOTS_PER_INCH
  52.         *DPI: PAIR(180, 180)
  53.         *TextDPI: PAIR(180, 180)
  54.         *PinsPerLogPass: 24
  55.         *PinsPerPhysPass: 24
  56.         *MinStripBlankPixels: 180
  57.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  58.         *SpotDiameter: 120
  59.         *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  60.     }
  61.     *Option: Option2
  62.     {
  63.         *Name: "360 x 180 " =DOTS_PER_INCH
  64.         *DPI: PAIR(360, 180)
  65.         *TextDPI: PAIR(360, 180)
  66.         *PinsPerLogPass: 24
  67.         *PinsPerPhysPass: 24
  68.         *MinStripBlankPixels: 360
  69.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  70.         *SpotDiameter: 170
  71.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  72.     }
  73.     *Option: Option3
  74.     {
  75.         *Name: "360 x 360 " =DOTS_PER_INCH
  76.         *DPI: PAIR(360, 360)
  77.         *TextDPI: PAIR(360, 360)
  78.         *PinsPerLogPass: 48
  79.         *PinsPerPhysPass: 24
  80.         *MinStripBlankPixels: 360
  81.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  82.         *SpotDiameter: 170
  83.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  84.     }
  85.     *Option: Option4
  86.     {
  87.         *Name: "120 x 180 " =DOTS_PER_INCH
  88.         *DPI: PAIR(120, 180)
  89.         *TextDPI: PAIR(120, 180)
  90.         *PinsPerLogPass: 24
  91.         *PinsPerPhysPass: 24
  92.         *MinStripBlankPixels: 120
  93.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  94.         *SpotDiameter: 100
  95.         *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  96.     }
  97. }
  98. *Feature: PaperSize
  99. {
  100.     *rcNameID: =PAPER_SIZE_DISPLAY
  101.     *DefaultOption: A4
  102.     *Option: A4
  103.     {
  104.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  105.         *PrintableArea: PAIR(2977, 4007)
  106.         *PrintableOrigin: PAIR(0, 57)
  107.         *switch: Resolution
  108.         {
  109.             *case: Option1
  110.             {
  111.                 *PrintableArea: PAIR(2976, 4006)
  112.                 *PrintableOrigin: PAIR(0, 58)
  113.             }
  114.             *case: Option2
  115.             {
  116.                 *PrintableArea: PAIR(2977, 4006)
  117.                 *PrintableOrigin: PAIR(0, 58)
  118.             }
  119.             *case: Option4
  120.             {
  121.                 *PrintableArea: PAIR(2976, 4006)
  122.                 *PrintableOrigin: PAIR(0, 58)
  123.             }
  124.         }
  125.         *Command: CmdSelect
  126.         {
  127.             *Order: DOC_SETUP.4
  128.             *Cmd: "<1B>2<1B>CF"
  129.         }
  130.     }
  131.     *Option: LETTER
  132.     {
  133.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  134.         *PrintableArea: PAIR(3002, 3656)
  135.         *PrintableOrigin: PAIR(29, 115)
  136.         *switch: Resolution
  137.         {
  138.             *case: Option1
  139.             {
  140.                 *PrintableArea: PAIR(3002, 3654)
  141.                 *PrintableOrigin: PAIR(29, 116)
  142.             }
  143.             *case: Option3
  144.             {
  145.                 *PrintableArea: PAIR(3000, 3654)
  146.                 *PrintableOrigin: PAIR(30, 116)
  147.             }
  148.             *case: Option4
  149.             {
  150.                 *PrintableArea: PAIR(3000, 3654)
  151.                 *PrintableOrigin: PAIR(30, 116)
  152.             }
  153.         }
  154.         *Command: CmdSelect
  155.         {
  156.             *Order: DOC_SETUP.4
  157.             *Cmd: "<1B>2<1B>CB"
  158.         }
  159.     }
  160.     *Option: LEGAL
  161.     {
  162.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  163.         *PrintableArea: PAIR(3060, 4839)
  164.         *PrintableOrigin: PAIR(0, 57)
  165.         *switch: Resolution
  166.         {
  167.             *case: Option1
  168.             {
  169.                 *PrintableArea: PAIR(3060, 4838)
  170.                 *PrintableOrigin: PAIR(0, 58)
  171.             }
  172.             *case: Option2
  173.             {
  174.                 *PrintableArea: PAIR(3060, 4838)
  175.                 *PrintableOrigin: PAIR(0, 58)
  176.             }
  177.             *case: Option4
  178.             {
  179.                 *PrintableArea: PAIR(3060, 4838)
  180.                 *PrintableOrigin: PAIR(0, 58)
  181.             }
  182.         }
  183.         *Command: CmdSelect
  184.         {
  185.             *Order: DOC_SETUP.4
  186.             *Cmd: "<1B>2<1B>CT"
  187.         }
  188.     }
  189.     *Option: TABLOID
  190.     {
  191.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  192.         *PrintableArea: PAIR(3902, 5816)
  193.         *PrintableOrigin: PAIR(29, 115)
  194.         *switch: Resolution
  195.         {
  196.             *case: Option1
  197.             {
  198.                 *PrintableArea: PAIR(3902, 5814)
  199.                 *PrintableOrigin: PAIR(29, 116)
  200.             }
  201.             *case: Option3
  202.             {
  203.                 *PrintableArea: PAIR(3900, 5814)
  204.                 *PrintableOrigin: PAIR(30, 116)
  205.             }
  206.             *case: Option4
  207.             {
  208.                 *PrintableArea: PAIR(3900, 5814)
  209.                 *PrintableOrigin: PAIR(30, 116)
  210.             }
  211.         }
  212.         *Command: CmdSelect
  213.         {
  214.             *Order: DOC_SETUP.4
  215.             *Cmd: "<1B>2<1B>Cf"
  216.         }
  217.     }
  218.     *Option: EXECUTIVE
  219.     {
  220.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  221.         *PrintableArea: PAIR(2610, 3579)
  222.         *PrintableOrigin: PAIR(0, 57)
  223.         *switch: Resolution
  224.         {
  225.             *case: Option1
  226.             {
  227.                 *PrintableArea: PAIR(2610, 3578)
  228.                 *PrintableOrigin: PAIR(0, 58)
  229.             }
  230.             *case: Option2
  231.             {
  232.                 *PrintableArea: PAIR(2610, 3578)
  233.                 *PrintableOrigin: PAIR(0, 58)
  234.             }
  235.             *case: Option4
  236.             {
  237.                 *PrintableArea: PAIR(2610, 3578)
  238.                 *PrintableOrigin: PAIR(0, 58)
  239.             }
  240.         }
  241.         *Command: CmdSelect
  242.         {
  243.             *Order: DOC_SETUP.4
  244.             *Cmd: "<1B>2<1B>C?"
  245.         }
  246.     }
  247.     *Option: FOLIO
  248.     {
  249.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  250.         *PrintableArea: PAIR(3002, 4376)
  251.         *PrintableOrigin: PAIR(29, 115)
  252.         *switch: Resolution
  253.         {
  254.             *case: Option1
  255.             {
  256.                 *PrintableArea: PAIR(3002, 4374)
  257.                 *PrintableOrigin: PAIR(29, 116)
  258.             }
  259.             *case: Option3
  260.             {
  261.                 *PrintableArea: PAIR(3000, 4374)
  262.                 *PrintableOrigin: PAIR(30, 116)
  263.             }
  264.             *case: Option4
  265.             {
  266.                 *PrintableArea: PAIR(3000, 4374)
  267.                 *PrintableOrigin: PAIR(30, 116)
  268.             }
  269.         }
  270.         *Command: CmdSelect
  271.         {
  272.             *Order: DOC_SETUP.4
  273.             *Cmd: "<1B>2<1B>CN"
  274.         }
  275.     }
  276.     *Option: Option7
  277.     {
  278.         *rcNameID: 258
  279.         *OptionID: 258
  280.         *PageDimensions: PAIR(5954, 8416)
  281.         *PrintableArea: PAIR(4896, 8112)
  282.         *PrintableOrigin: PAIR(29, 115)
  283.         *switch: Resolution
  284.         {
  285.             *case: Option1
  286.             {
  287.                 *PrintableArea: PAIR(4896, 8110)
  288.                 *PrintableOrigin: PAIR(29, 116)
  289.             }
  290.             *case: Option3
  291.             {
  292.                 *PrintableArea: PAIR(4894, 8110)
  293.                 *PrintableOrigin: PAIR(30, 116)
  294.             }
  295.             *case: Option4
  296.             {
  297.                 *PrintableArea: PAIR(4893, 8110)
  298.                 *PrintableOrigin: PAIR(30, 116)
  299.             }
  300.         }
  301.         *Command: CmdSelect
  302.         {
  303.             *Order: DOC_SETUP.4
  304.             *Cmd: "<1B>2<1B>C<8A>"
  305.         }
  306.     }
  307.     *Option: A3
  308.     {
  309.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  310.         *PrintableArea: PAIR(4208, 5753)
  311.         *PrintableOrigin: PAIR(0, 57)
  312.         *switch: Resolution
  313.         {
  314.             *case: Option1
  315.             {
  316.                 *PrintableArea: PAIR(4208, 5752)
  317.                 *PrintableOrigin: PAIR(0, 58)
  318.             }
  319.             *case: Option2
  320.             {
  321.                 *PrintableArea: PAIR(4208, 5752)
  322.                 *PrintableOrigin: PAIR(0, 58)
  323.             }
  324.             *case: Option4
  325.             {
  326.                 *PrintableArea: PAIR(4206, 5752)
  327.                 *PrintableOrigin: PAIR(0, 58)
  328.             }
  329.         }
  330.         *Command: CmdSelect
  331.         {
  332.             *Order: DOC_SETUP.4
  333.             *Cmd: "<1B>2<1B>Cc"
  334.         }
  335.     }
  336.     *Option: Option9
  337.     {
  338.         *rcNameID: 259
  339.         *OptionID: 259
  340.         *PageDimensions: PAIR(5954, 4208)
  341.         *PrintableArea: PAIR(4896, 3904)
  342.         *PrintableOrigin: PAIR(29, 115)
  343.         *switch: Resolution
  344.         {
  345.             *case: Option1
  346.             {
  347.                 *PrintableArea: PAIR(4896, 3902)
  348.                 *PrintableOrigin: PAIR(29, 116)
  349.             }
  350.             *case: Option3
  351.             {
  352.                 *PrintableArea: PAIR(4894, 3902)
  353.                 *PrintableOrigin: PAIR(30, 116)
  354.             }
  355.             *case: Option4
  356.             {
  357.                 *PrintableArea: PAIR(4893, 3902)
  358.                 *PrintableOrigin: PAIR(30, 116)
  359.             }
  360.         }
  361.         *Command: CmdSelect
  362.         {
  363.             *Order: DOC_SETUP.4
  364.             *Cmd: "<1B>3<121B>Cu"
  365.         }
  366.     }
  367.     *Option: A5
  368.     {
  369.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  370.         *PrintableArea: PAIR(2041, 2673)
  371.         *PrintableOrigin: PAIR(29, 115)
  372.         *switch: Resolution
  373.         {
  374.             *case: Option1
  375.             {
  376.                 *PrintableArea: PAIR(2041, 2672)
  377.                 *PrintableOrigin: PAIR(29, 116)
  378.             }
  379.             *case: Option3
  380.             {
  381.                 *PrintableArea: PAIR(2040, 2672)
  382.                 *PrintableOrigin: PAIR(30, 116)
  383.             }
  384.             *case: Option4
  385.             {
  386.                 *PrintableArea: PAIR(2040, 2672)
  387.                 *PrintableOrigin: PAIR(30, 116)
  388.             }
  389.         }
  390.         *Command: CmdSelect
  391.         {
  392.             *Order: DOC_SETUP.4
  393.             *Cmd: "<1B>2<1B>C2"
  394.         }
  395.     }
  396.     *Option: B4
  397.     {
  398.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  399.         *PrintableArea: PAIR(3643, 4958)
  400.         *PrintableOrigin: PAIR(0, 57)
  401.         *switch: Resolution
  402.         {
  403.             *case: Option1
  404.             {
  405.                 *PrintableArea: PAIR(3642, 4956)
  406.                 *PrintableOrigin: PAIR(0, 58)
  407.             }
  408.             *case: Option2
  409.             {
  410.                 *PrintableArea: PAIR(3643, 4956)
  411.                 *PrintableOrigin: PAIR(0, 58)
  412.             }
  413.             *case: Option4
  414.             {
  415.                 *PrintableArea: PAIR(3642, 4956)
  416.                 *PrintableOrigin: PAIR(0, 58)
  417.             }
  418.         }
  419.         *Command: CmdSelect
  420.         {
  421.             *Order: DOC_SETUP.4
  422.             *Cmd: "<1B>2<1B>CT"
  423.         }
  424.     }
  425.     *Option: B5
  426.     {
  427.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  428.         *PrintableArea: PAIR(2581, 3442)
  429.         *PrintableOrigin: PAIR(0, 57)
  430.         *switch: Resolution
  431.         {
  432.             *case: Option1
  433.             {
  434.                 *PrintableArea: PAIR(2580, 3440)
  435.                 *PrintableOrigin: PAIR(0, 58)
  436.             }
  437.             *case: Option2
  438.             {
  439.                 *PrintableArea: PAIR(2581, 3440)
  440.                 *PrintableOrigin: PAIR(0, 58)
  441.             }
  442.             *case: Option4
  443.             {
  444.                 *PrintableArea: PAIR(2580, 3440)
  445.                 *PrintableOrigin: PAIR(0, 58)
  446.             }
  447.         }
  448.         *Command: CmdSelect
  449.         {
  450.             *Order: DOC_SETUP.4
  451.             *Cmd: "<1B>2<1B>C="
  452.         }
  453.     }
  454.     *Option: Option13
  455.     {
  456.         *rcNameID: 260
  457.         *OptionID: 260
  458.         *PageDimensions: PAIR(2880, 2160)
  459.         *PrintableArea: PAIR(2822, 1856)
  460.         *PrintableOrigin: PAIR(29, 115)
  461.         *switch: Resolution
  462.         {
  463.             *case: Option1
  464.             {
  465.                 *PrintableArea: PAIR(2822, 1854)
  466.                 *PrintableOrigin: PAIR(29, 116)
  467.             }
  468.             *case: Option3
  469.             {
  470.                 *PrintableArea: PAIR(2820, 1854)
  471.                 *PrintableOrigin: PAIR(30, 116)
  472.             }
  473.             *case: Option4
  474.             {
  475.                 *PrintableArea: PAIR(2820, 1854)
  476.                 *PrintableOrigin: PAIR(30, 116)
  477.             }
  478.         }
  479.         *Command: CmdSelect
  480.         {
  481.             *Order: DOC_SETUP.4
  482.             *Cmd: "<1B>2<1B>C$"
  483.         }
  484.     }
  485.     *Option: Option14
  486.     {
  487.         *rcNameID: 261
  488.         *OptionID: 261
  489.         *PageDimensions: PAIR(5357, 4208)
  490.         *PrintableArea: PAIR(4896, 3893)
  491.         *PrintableOrigin: PAIR(184, 126)
  492.         *switch: Resolution
  493.         {
  494.             *case: Option1
  495.             {
  496.                 *PrintableArea: PAIR(4896, 3892)
  497.             }
  498.             *case: Option3
  499.             {
  500.                 *PrintableArea: PAIR(4896, 3892)
  501.             }
  502.             *case: Option4
  503.             {
  504.                 *PrintableArea: PAIR(4893, 3892)
  505.                 *PrintableOrigin: PAIR(186, 126)
  506.             }
  507.         }
  508.         *Command: CmdSelect
  509.         {
  510.             *Order: DOC_SETUP.4
  511.             *Cmd: "<1B>2<1B>CF"
  512.         }
  513.     }
  514.     *Option: FANFOLD_US
  515.     {
  516.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  517.         *PrintableArea: PAIR(4895, 3759)
  518.         *PrintableOrigin: PAIR(0, 57)
  519.         *switch: Resolution
  520.         {
  521.             *case: Option1
  522.             {
  523.                 *PrintableArea: PAIR(4894, 3758)
  524.                 *PrintableOrigin: PAIR(0, 58)
  525.             }
  526.             *case: Option2
  527.             {
  528.                 *PrintableArea: PAIR(4895, 3758)
  529.                 *PrintableOrigin: PAIR(0, 58)
  530.             }
  531.             *case: Option4
  532.             {
  533.                 *PrintableArea: PAIR(4893, 3758)
  534.                 *PrintableOrigin: PAIR(0, 58)
  535.             }
  536.         }
  537.         *Command: CmdSelect
  538.         {
  539.             *Order: DOC_SETUP.4
  540.             *Cmd: "<1B>2<1B>CB"
  541.         }
  542.     }
  543.     *Option: FANFOLD_STD_GERMAN
  544.     {
  545.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  546.         *PrintableArea: PAIR(2692, 4005)
  547.         *PrintableOrigin: PAIR(184, 126)
  548.         *switch: Resolution
  549.         {
  550.             *case: Option1
  551.             {
  552.                 *PrintableArea: PAIR(2692, 4004)
  553.             }
  554.             *case: Option3
  555.             {
  556.                 *PrintableArea: PAIR(2692, 4004)
  557.             }
  558.             *case: Option4
  559.             {
  560.                 *PrintableArea: PAIR(2688, 4004)
  561.                 *PrintableOrigin: PAIR(186, 126)
  562.             }
  563.         }
  564.         *Command: CmdSelect
  565.         {
  566.             *Order: DOC_SETUP.4
  567.             *Cmd: "<1B>2<1B>CH"
  568.         }
  569.     }
  570.     *Option: Option17
  571.     {
  572.         *rcNameID: 262
  573.         *OptionID: 262
  574.         *PageDimensions: PAIR(2976, 4320)
  575.         *PrintableArea: PAIR(2608, 4005)
  576.         *PrintableOrigin: PAIR(184, 126)
  577.         *switch: Resolution
  578.         {
  579.             *case: Option1
  580.             {
  581.                 *PrintableArea: PAIR(2608, 4004)
  582.             }
  583.             *case: Option3
  584.             {
  585.                 *PrintableArea: PAIR(2608, 4004)
  586.             }
  587.             *case: Option4
  588.             {
  589.                 *PrintableArea: PAIR(2604, 4004)
  590.                 *PrintableOrigin: PAIR(186, 126)
  591.             }
  592.         }
  593.         *Command: CmdSelect
  594.         {
  595.             *Order: DOC_SETUP.4
  596.             *Cmd: "<1B>2<1B>CH"
  597.         }
  598.     }
  599.     *Option: Option18
  600.     {
  601.         *rcNameID: 263
  602.         *OptionID: 263
  603.         *PageDimensions: PAIR(5074, 4320)
  604.         *PrintableArea: PAIR(4706, 4005)
  605.         *PrintableOrigin: PAIR(184, 126)
  606.         *switch: Resolution
  607.         {
  608.             *case: Option1
  609.             {
  610.                 *PrintableArea: PAIR(4706, 4004)
  611.             }
  612.             *case: Option3
  613.             {
  614.                 *PrintableArea: PAIR(4706, 4004)
  615.             }
  616.             *case: Option4
  617.             {
  618.                 *PrintableArea: PAIR(4704, 4004)
  619.                 *PrintableOrigin: PAIR(186, 126)
  620.             }
  621.         }
  622.         *Command: CmdSelect
  623.         {
  624.             *Order: DOC_SETUP.4
  625.             *Cmd: "<1B>2<1B>CH"
  626.         }
  627.     }
  628.     *Option: Option19
  629.     {
  630.         *rcNameID: 264
  631.         *OptionID: 264
  632.         *PageDimensions: PAIR(5400, 4320)
  633.         *PrintableArea: PAIR(4896, 4005)
  634.         *PrintableOrigin: PAIR(184, 126)
  635.         *switch: Resolution
  636.         {
  637.             *case: Option1
  638.             {
  639.                 *PrintableArea: PAIR(4896, 4004)
  640.             }
  641.             *case: Option3
  642.             {
  643.                 *PrintableArea: PAIR(4896, 4004)
  644.             }
  645.             *case: Option4
  646.             {
  647.                 *PrintableArea: PAIR(4893, 4004)
  648.                 *PrintableOrigin: PAIR(186, 126)
  649.             }
  650.         }
  651.         *Command: CmdSelect
  652.         {
  653.             *Order: DOC_SETUP.4
  654.             *Cmd: "<1B>2<1B>CH"
  655.         }
  656.     }
  657.     *Option: FANFOLD_LGL_GERMAN
  658.     {
  659.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  660.         *PrintableArea: PAIR(2692, 4365)
  661.         *PrintableOrigin: PAIR(184, 126)
  662.         *switch: Resolution
  663.         {
  664.             *case: Option1
  665.             {
  666.                 *PrintableArea: PAIR(2692, 4364)
  667.             }
  668.             *case: Option3
  669.             {
  670.                 *PrintableArea: PAIR(2692, 4364)
  671.             }
  672.             *case: Option4
  673.             {
  674.                 *PrintableArea: PAIR(2688, 4364)
  675.                 *PrintableOrigin: PAIR(186, 126)
  676.             }
  677.         }
  678.         *Command: CmdSelect
  679.         {
  680.             *Order: DOC_SETUP.4
  681.             *Cmd: "<1B>2<1B>CN"
  682.         }
  683.     }
  684.    *Option: ENV_9
  685.     {
  686.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  687.         *Constraints: LIST(InputBin.TRACTOR)
  688.         *RotateSize? : TRUE
  689.         *PrintableArea: PAIR(3197, 1196)
  690.         *PrintableOrigin: PAIR(0, 57)
  691.         *switch: Resolution
  692.         {
  693.             *case: Option1
  694.             {
  695.                 *PrintableArea: PAIR(3196, 1194)
  696.                 *PrintableOrigin: PAIR(0, 58)
  697.             }
  698.             *case: Option2
  699.             {
  700.                 *PrintableArea: PAIR(3197, 1194)
  701.                 *PrintableOrigin: PAIR(0, 58)
  702.             }
  703.             *case: Option4
  704.             {
  705.                 *PrintableArea: PAIR(3195, 1194)
  706.                 *PrintableOrigin: PAIR(0, 58)
  707.             }
  708.         }
  709.         *Command: CmdSelect
  710.         {
  711.             *Order: DOC_SETUP.4
  712.             *Cmd: "<1B>2<1B>C<17>"
  713.         }
  714.     }
  715.     *Option: ENV_10
  716.     {
  717.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  718.         *Constraints: LIST(InputBin.TRACTOR)
  719.         *RotateSize? : TRUE
  720.         *PrintableArea: PAIR(3420, 1286)
  721.         *PrintableOrigin: PAIR(0, 57)
  722.         *switch: Resolution
  723.         {
  724.             *case: Option1
  725.             {
  726.                 *PrintableArea: PAIR(3420, 1284)
  727.                 *PrintableOrigin: PAIR(0, 58)
  728.             }
  729.             *case: Option2
  730.             {
  731.                 *PrintableArea: PAIR(3420, 1284)
  732.                 *PrintableOrigin: PAIR(0, 58)
  733.             }
  734.             *case: Option4
  735.             {
  736.                 *PrintableArea: PAIR(3420, 1284)
  737.                 *PrintableOrigin: PAIR(0, 58)
  738.             }
  739.         }
  740.         *Command: CmdSelect
  741.         {
  742.             *Order: DOC_SETUP.4
  743.             *Cmd: "<1B>2<1B>C<19>"
  744.         }
  745.     }
  746.     *Option: ENV_DL
  747.     {
  748.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  749.         *Constraints: LIST(InputBin.TRACTOR)
  750.         *RotateSize? : TRUE
  751.         *PrintableArea: PAIR(3118, 1358)
  752.         *PrintableOrigin: PAIR(0, 57)
  753.         *switch: Resolution
  754.         {
  755.             *case: Option1
  756.             {
  757.                 *PrintableArea: PAIR(3118, 1356)
  758.                 *PrintableOrigin: PAIR(0, 58)
  759.             }
  760.             *case: Option2
  761.             {
  762.                 *PrintableArea: PAIR(3118, 1356)
  763.                 *PrintableOrigin: PAIR(0, 58)
  764.             }
  765.             *case: Option4
  766.             {
  767.                 *PrintableArea: PAIR(3117, 1356)
  768.                 *PrintableOrigin: PAIR(0, 58)
  769.             }
  770.         }
  771.         *Command: CmdSelect
  772.         {
  773.             *Order: DOC_SETUP.4
  774.             *Cmd: "<1B>2<1B>C<1A>"
  775.         }
  776.     }
  777.     *Option: ENV_C5
  778.     {
  779.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  780.         *Constraints: LIST(InputBin.TRACTOR)
  781.         *RotateSize? : TRUE
  782.         *PrintableArea: PAIR(3247, 2096)
  783.         *PrintableOrigin: PAIR(0, 57)
  784.         *switch: Resolution
  785.         {
  786.             *case: Option1
  787.             {
  788.                 *PrintableArea: PAIR(3246, 2094)
  789.                 *PrintableOrigin: PAIR(0, 58)
  790.             }
  791.             *case: Option2
  792.             {
  793.                 *PrintableArea: PAIR(3247, 2094)
  794.                 *PrintableOrigin: PAIR(0, 58)
  795.             }
  796.             *case: Option4
  797.             {
  798.                 *PrintableArea: PAIR(3246, 2094)
  799.                 *PrintableOrigin: PAIR(0, 58)
  800.             }
  801.         }
  802.         *Command: CmdSelect
  803.         {
  804.             *Order: DOC_SETUP.4
  805.             *Cmd: "<1B>2<1B>C&"
  806.         }
  807.     }
  808.     *Option: ENV_C3
  809.     {
  810.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  811.         *Constraints: LIST(InputBin.TRACTOR)
  812.         *RotateSize? : TRUE
  813.         *PrintableArea: PAIR(4896, 4393)
  814.         *PrintableOrigin: PAIR(0, 57)
  815.         *switch: Resolution
  816.         {
  817.             *case: Option1
  818.             {
  819.                 *PrintableArea: PAIR(4896, 4392)
  820.                 *PrintableOrigin: PAIR(0, 58)
  821.             }
  822.             *case: Option2
  823.             {
  824.                 *PrintableArea: PAIR(4896, 4392)
  825.                 *PrintableOrigin: PAIR(0, 58)
  826.             }
  827.             *case: Option4
  828.             {
  829.                 *PrintableArea: PAIR(4896, 4392)
  830.                 *PrintableOrigin: PAIR(0, 58)
  831.             }
  832.         }
  833.         *Command: CmdSelect
  834.         {
  835.             *Order: DOC_SETUP.4
  836.             *Cmd: "<1B>2<1B>CM"
  837.         }
  838.     }
  839.     *Option: ENV_B5
  840.     {
  841.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  842.         *Constraints: LIST(InputBin.TRACTOR)
  843.         *RotateSize? : TRUE
  844.         *PrintableArea: PAIR(3542, 2294)
  845.         *PrintableOrigin: PAIR(0, 57)
  846.         *switch: Resolution
  847.         {
  848.             *case: Option1
  849.             {
  850.                 *PrintableArea: PAIR(3542, 2292)
  851.                 *PrintableOrigin: PAIR(0, 58)
  852.             }
  853.             *case: Option2
  854.             {
  855.                 *PrintableArea: PAIR(3542, 2292)
  856.                 *PrintableOrigin: PAIR(0, 58)
  857.             }
  858.             *case: Option4
  859.             {
  860.                 *PrintableArea: PAIR(3540, 2292)
  861.                 *PrintableOrigin: PAIR(0, 58)
  862.             }
  863.         }
  864.         *Command: CmdSelect
  865.         {
  866.             *Order: DOC_SETUP.4
  867.             *Cmd: "<1B>2<1B>C*"
  868.         }
  869.     }
  870.     *Option: ENV_MONARCH
  871.     {
  872.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  873.         *Constraints: LIST(InputBin.TRACTOR)
  874.         *RotateSize? : TRUE
  875.         *PrintableArea: PAIR(2700, 1196)
  876.         *PrintableOrigin: PAIR(0, 57)
  877.         *switch: Resolution
  878.         {
  879.             *case: Option1
  880.             {
  881.                 *PrintableArea: PAIR(2700, 1194)
  882.                 *PrintableOrigin: PAIR(0, 58)
  883.             }
  884.             *case: Option2
  885.             {
  886.                 *PrintableArea: PAIR(2700, 1194)
  887.                 *PrintableOrigin: PAIR(0, 58)
  888.             }
  889.             *case: Option4
  890.             {
  891.                 *PrintableArea: PAIR(2700, 1194)
  892.                 *PrintableOrigin: PAIR(0, 58)
  893.             }
  894.         }
  895.         *Command: CmdSelect
  896.         {
  897.             *Order: DOC_SETUP.4
  898.             *Cmd: "<1B>2<1B>C!"
  899.         }
  900.     }
  901.     *Option: CUSTOMSIZE
  902.     {
  903.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  904.         *MinSize: PAIR(180, 180)
  905.         *MaxSize: PAIR(5940, 32767)
  906.         *MaxPrintableWidth: 4896
  907.         *MinLeftMargin: 0
  908.         *CenterPrintable?: FALSE
  909.         *TopMargin: 57
  910.         *BottomMargin: 144
  911.         *Command: CmdSelect
  912.         {
  913.             *Order: DOC_SETUP.4
  914.             *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 60) )}
  915.         }
  916.     }
  917. }
  918. *Feature: PrintQuality
  919. {
  920.     *rcNameID: =TEXT_QUALITY_DISPLAY
  921.     *DefaultOption: Option1
  922.     *Option: Option1
  923.     {
  924.         *rcNameID: 267
  925.         *Command: CmdSelect
  926.         {
  927.             *Order: DOC_SETUP.2
  928.             *Cmd: "<1B>U<001B>x<01>"
  929.         }
  930.     }
  931.     *Option: DRAFT_QUALITY
  932.     {
  933.         *rcNameID: =DRAFT_QUALITY_DISPLAY
  934.         *Command: CmdSelect
  935.         {
  936.             *Order: DOC_SETUP.2
  937.             *Cmd: "<1B>U<011B>x<00>"
  938.         }
  939.     }
  940.     *Option: Option3
  941.     {
  942.         *rcNameID: 267
  943.         *Command: CmdSelect
  944.         {
  945.             *Order: DOC_SETUP.2
  946.             *Cmd: "<1B>U<001B>x<00>"
  947.         }
  948.     }
  949.     *Option: LETTER_QUALITY
  950.     {
  951.         *rcNameID: =LETTER_QUALITY_DISPLAY
  952.         *Command: CmdSelect
  953.         {
  954.             *Order: DOC_SETUP.2
  955.             *Cmd: "<1B>U<011B>x<01>"
  956.         }
  957.     }
  958. }
  959. *Feature: Halftone
  960. {
  961.     *rcNameID: =HALFTONING_DISPLAY
  962.     *DefaultOption: HT_PATSIZE_AUTO
  963.     *Option: HT_PATSIZE_AUTO
  964.     {
  965.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  966.     }
  967.     *Option: HT_PATSIZE_SUPERCELL_M
  968.     {
  969.         *rcNameID: =HT_SUPERCELL_DISPLAY
  970.     }
  971.     *Option: HT_PATSIZE_6x6_M
  972.     {
  973.         *rcNameID: =HT_DITHER6X6_DISPLAY
  974.     }
  975.     *Option: HT_PATSIZE_8x8_M
  976.     {
  977.         *rcNameID: =HT_DITHER8X8_DISPLAY
  978.     }
  979. }
  980. *Command: CmdStartDoc
  981. {
  982.     *Order: DOC_SETUP.1
  983.     *Cmd: "<1B>@<1B>t<011B>6<1B>R<001B>r<001B>U<01>"
  984. }
  985. *Command: CmdStartPage
  986. {
  987.     *Order: PAGE_SETUP.1
  988.     *Cmd: "<0D>"
  989. }
  990. *Command: CmdEndJob
  991. {
  992.     *Order: JOB_FINISH.1
  993.     *Cmd: "<1B>@"
  994. }
  995. *RotateCoordinate?: FALSE
  996. *RotateRaster?: FALSE
  997. *RotateFont?: FALSE
  998. *switch: Orientation
  999. {
  1000.     *case: PORTRAIT
  1001.     {
  1002.         *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1003.     }
  1004.     *case: LANDSCAPE_CC270
  1005.     {
  1006.         *TextCaps: LIST(TC_RA_ABLE)
  1007.     }
  1008. }
  1009. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1010. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1011. *MaxLineSpacing: 255
  1012. *XMoveThreshold: 0
  1013. *YMoveThreshold: *
  1014. *XMoveUnit: 60
  1015. *YMoveUnit: 180
  1016. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
  1017. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1018. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1019. *Command: CmdCR { *Cmd : "<0D>" }
  1020. *Command: CmdLF { *Cmd : "<0A>" }
  1021. *Command: CmdFF { *Cmd : "<0C>" }
  1022. *Command: CmdBackSpace { *Cmd : "<08>" }
  1023. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1024. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1025. *EjectPageWithFF?: TRUE
  1026. *OutputDataFormat: V_BYTE
  1027. *OptimizeLeftBound?: FALSE
  1028. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1029. *CursorYAfterSendBlockData: NO_MOVE
  1030. *DefaultFont: 10
  1031. *DefaultCTT: 1
  1032. *switch: Orientation
  1033. {
  1034.     *case: PORTRAIT
  1035.     {
  1036.         *DeviceFonts: LIST(1,2,3,4,5,6,8,9,10,11,12,13,15,16,
  1037. +                   17,18,19,20,22,23,24,25,26,27,29,30,31,32,
  1038. +                   33,34,36,37,38,39,40,42,43,44,45,46,48,
  1039. +                   49,50,51,52,54,55,56,57,58)
  1040.     }
  1041.     *case: LANDSCAPE_CC270
  1042.     {
  1043.         *DeviceFonts: LIST()
  1044.     }
  1045. }
  1046. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1047. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1048. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1049. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1050. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1051. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  1052.